package net.spmiller;

public abstract class Photo {
    private final String uniqueId;
    private final Location location;

    public Photo(String uniqueId) {
        this(uniqueId, null);
    }

    public Photo(String uniqueId, Location location) {
        this.uniqueId = uniqueId;
        this.location = location;
    }

    public String getUniqueId() {
        return uniqueId;
    }

    public Location getLocation() {
        return location;
    }

    @Override
    public String toString() {
        return "Photo{" +
                "uniqueId='" + uniqueId + '\'' +
                ", location=" + location +
                '}';
    }
}
